package cn.hk.vaccination.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 预约日设置表
 * </p>
 *
 * @author xu
 * @since 2023-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_subscribe_setting")
@ApiModel(value="SubscribeSetting对象", description="预约日设置表")
public class SubscribeSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "社区ID")
    private Long parId;

    @ApiModelProperty(value = "社区门诊ID")
    private Long deptId;

    @ApiModelProperty(value = "上午时间段")
    private String amSoltTime;

    @ApiModelProperty(value = "下午时间段")
    private String pmSoltTime;

    @ApiModelProperty(value = "上午预约时间段划分类型(1 半小时 、2 一小时)")
    private String amEveryOther;

    @ApiModelProperty(value = "下午预约时间段划分类型(1 半小时 、2 一小时)")
    private String pmEveryOther;

    @ApiModelProperty(value = "规则标识 ：1同步至每周 2同步至其他开诊日 3仅执行一次")
    private String carryOutFlag;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "时间段json数据")
    private String soltText;

    @ApiModelProperty(value = "同步至每个工作日使用")
    private String activeName1;

    @ApiModelProperty(value = "可提前预约天数")
    private Integer advanceYyTime;


}
